package com.crl.animation
{
	import com.crl.core.crl_internal;

	public class AbstractRender
	{
		public var pre:AbstractRender;
		public var next:AbstractRender;
		
		/**
		 * 只被AnimationPlayer管理; 
		 */		
		crl_internal var active:Boolean=false;
		
		/**
		 * 上次渲染的时间; 
		 */		
		protected var renderedTime:int;
		
		public function AbstractRender()
		{
		}
		
		
		public function start():void{
			AnimationPlayer.ins.add(this);
		}
		
		public function stop():void{
			AnimationPlayer.ins.remove(this);
		}
		
		public function render(now:int):void{
			
		}
	}
}